﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using AdmLaboratorios.DTO;
using AdmLaboratorios.DAO;
using AdmLaboratorios.Business.Entities;

namespace AdmLaboratorios.Business
{
    public static class Recepcion
    {
        static PartnerDAO daoPartner = DAOFactory.Get<PartnerDAO>();
        static ProductoDAO daoProducto = DAOFactory.Get<ProductoDAO>();

        
        public static List<PartnerDTO> Partners()
        {
            return daoPartner.ReadAll();
        }

        public static List<ProductoDTO> Productos()
        {
            return daoProducto.ReadAll();
        }

    }
}
